\nonstopmode
\documentclass[12pt]{article}
\usepackage{cancel}
\pagestyle{empty}
\begin{document}
$$
ax^{2}+bx+c=0
$$
\end{document}
